package com.joycard.hw.git.demo;

public class BadApple {
	
	private Boolean loop ;
	
	public BadApple(){
		this.loop = new Boolean(true);
	}

	public void play(){
		System.out.println("开始播放Bad Apple歌曲");
	}
	
	public void setLoop(Boolean loop){
		this.loop = loop ;
	}
	
	public Boolean isLoop(){
		return this.loop;
	}
	
	public void stop(){
		this.setLoop(false);
	}
	
	
}
